package dev.lpf.bookstore.entities;

/**
 * 书籍查询条件
 * Author:   RunAtWorld
 * Date:     2020/11/20 23:05
 */
public class BookCriteria {
    /**
     * 编号
     */
    private Integer id;
    /**
     * 书名
     */
    private String title;

    public BookCriteria() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = "%" + title + "%";
    }
}
